package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.WarehouseOristockEntity;
import com.xbongbong.saas.domain.entity.WarehouseOristockProductEntity;

import java.util.List;

/**
 * Created by xbb on 2019/10/17.
 */
public interface WarehouseOristockProductModel extends IModel<WarehouseOristockProductEntity>{
    /**
    * @Description:
    * @Param: [warehouseOristockProductEntityList]
    * @return: void
    * @Author: cyy
    * @Date: 2019/10/22
    */
    void insertBatch(List<WarehouseOristockProductEntity> warehouseOristockProductEntityList);

    void deleteByOriId(String corpid, List<Integer> oriIdList);

    List<WarehouseOristockProductEntity> getProductsByOriStockIdIn(String corpid, List<Long> refIdIn);
}
